package weixinkeji.dev.dc.buy.order.event;

import java.time.LocalTime;

/**
 *
 * @author imyweb.org
 */
public class FWYEvent {

    public final String event_time;//时间
    //xx订单号xx房追加菜｜开单
    public final String event_info;//事件描述

    public FWYEvent(String order_code, String room_code, String opra) {
        LocalTime lt = LocalTime.now();
        this.event_time = lt.getHour() + ":" + lt.getMinute() + ":" + lt.getSecond();
        StringBuilder sb = new StringBuilder();
        sb.append(order_code.substring(8)).append("/").append(room_code).append("/").append(opra);
        this.event_info = sb.toString();
    }

}
